package com.dc.model;

import java.util.Date;

public class Auth {
    // 权限id
    private Integer auth_id;
    // 权限等级
    private String auth_level;
    // 权限名称
    private String auth_name;
    // 父级权限id
    private Integer parent_level;
    // 创建时间
    private Date create_time;
    // 更新时间
    private Date update_time;
    // 是否删除
    private Integer is_delete;

    public Integer getAuth_id() {
        return auth_id;
    }

    public void setAuth_id(Integer auth_id) {
        this.auth_id = auth_id;
    }

    public String getAuth_level() {
        return auth_level;
    }

    public void setAuth_level(String auth_level) {
        this.auth_level = auth_level;
    }

    public String getAuth_name() {
        return auth_name;
    }

    public void setAuth_name(String auth_name) {
        this.auth_name = auth_name;
    }

    public Integer getParent_level() {
        return parent_level;
    }

    public void setParent_level(Integer parent_level) {
        this.parent_level = parent_level;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Auth{");
        sb.append("auth_id=").append(auth_id);
        sb.append(", auth_level=").append(auth_level);
        sb.append(", auth_name='").append(auth_name).append('\'');
        sb.append(", parent_level=").append(parent_level);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", is_delete=").append(is_delete);
        sb.append('}');
        return sb.toString();
    }
}
